Conversation
Now uses only official Hyperledger images
a0af371 to
a6f9ba6
Compare
drigodwin
left a comment
There was a problem hiding this comment.
This PR doesn't seem to work, I've hit two initial problems. See comments.
| @@ -1,70 +1,200 @@ | |||
| brooklyn.catalog: | |||
| version: 0.18.0-SNAPSHOT # BROOKLYN_HYPERLEDGER_VERSION | |||
| version: 0.19.0-SNAPSHOT # BROOKLYN_HYPERLEDGER_VERSION | |||
There was a problem hiding this comment.
If you're going to change the version you should use the change version script as you've missed a number of places such as here
| Entities for running the Hyperledger Fabric project in Apache Brooklyn. | ||
| license_code: Apache-2.0 | ||
| Entities for Hyperledger Fabric. | ||
| license_code: APACHE-2.0 |
There was a problem hiding this comment.
This isn't a valid spdx code but the original was, see here. Note the same is true for other files in which this has been changed.
| composer network deploy --archiveFile digitalPropertyNetwork.bna --enrollId WebAppAdmin --enrollSecret DJY27pEnl16d | ||
| composer network list -n digitalproperty-network --enrollId WebAppAdmin --enrollSecret DJY27pEnl16d | ||
|
|
||
| npm test |
| @@ -1,70 +1,200 @@ | |||
| brooklyn.catalog: | |||
There was a problem hiding this comment.
This catalog.bom needs to be at the root of the project
| echo "[HLF] docker installed" | ||
|
|
||
| customize.command: | | ||
| sudo tee /etc/docker/daemon.json <<EOF |
There was a problem hiding this comment.
The file /etc/docker appears not to exist at this point
tee: /etc/docker/daemon.json: No such file or directory
Adding sudo mkdir -p /etc/docker before seems to fix this.
| is.leader.node: true | ||
| latch.launch: $brooklyn:component("my-hyperledger-orderer-node").attributeWhenReady("service.isUp") | ||
| post.launch.command: | | ||
| sudo docker pull hyperledger/fabric-ccenv:${HYPERLEDGER_VERSION} |
There was a problem hiding this comment.
${HYPERLEDGER_VERSION} is not in the shell.env and so it produces the error invalid reference format
Upgrades to use Fabric 1.0.3 and Docker CE, and adds a development cluster application template to the catalog entries.